package o;

import android.content.Context;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import androidx.annotation.NonNull;
import o.cxv.a;

public class exy implements cxv<ext> {
    private Context ˎ;
    private d ˏ;

    interface d {
        void ˊ(@NonNull ext o_ext, int i);
    }

    public /* synthetic */ void ˋ(@NonNull cxs o_cxs) {
        ˏ((ext) o_cxs);
    }

    public /* synthetic */ void ˎ(@NonNull cxs o_cxs, int i) {
        ˊ((ext) o_cxs, i);
    }

    public /* synthetic */ void ॱ(@NonNull cxs o_cxs, @NonNull a aVar) {
        ˊ((ext) o_cxs, aVar);
    }

    public exy(Context context, d dVar) {
        this.ˎ = context;
        this.ˏ = dVar;
    }

    public void ˊ(@NonNull ext o_ext, @NonNull a aVar) {
        int dimension = (int) this.ˎ.getResources().getDimension(17104896);
        aVar.ॱ(new o.cxx.d(o_ext.ˊ()).ˊ(exw.ˏ(o_ext)).ˎ(o_ext.ॱ()).ˊ(cxz.ˏ(Bitmap.createScaledBitmap(BitmapFactory.decodeResource(this.ˎ.getResources(), o_ext.ˎ()), dimension, dimension, false))).ˊ());
    }

    public boolean ˎ(@NonNull ext o_ext, @NonNull cxx o_cxx) {
        return false;
    }

    public void ˊ(@NonNull ext o_ext, int i) {
        if (this.ˏ != null) {
            this.ˏ.ˊ(o_ext, i);
        }
    }

    public void ˏ(@NonNull ext o_ext) {
    }
}
